import { Provider } from "react-redux";
import store from "./store";
import Counter from "./components/counter";
import Hots from "./components/hots";
const App = () => {
    return (
        <>
            <div className="page-header">
                <h1>
                    Redux <small>createAsyncThunk</small>
                </h1>
            </div>
            <div className="page-content">
                <div className="wrapper wrapper4">
                    <Provider store={store}>
                        <Counter />
                        <hr />
                        <Hots />
                    </Provider>
                </div>
            </div>
        </>
    );
};

export default App;
